package com.tjbklx1.genetic;

import java.util.Random;

public class FruitGenerator implements Generator<String> {
	private String[] fruits = new String[] { "Apple", "Banana", "Pear" };

	public String next() {
		Random rand = new Random();
		return fruits[rand.nextInt(3)];
	}
}